<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="__SELF__" method="post">
<div>
添加角色：<br>
角色名称：<input type='text' name='role_name' value='' />
</div>

<?php foreach ($pri as $k => $v):?>
<input type="checkbox" name="action_list[]" value="<?php echo $k;?>" />
<?php echo $v;?>
<?php endforeach;?>
<p>
<input type='submit' value='提交'>
</p>
</form>

</body>
</html>